package com.wangshuyu.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@SpringBootApplication
public class WangshuyuDemoApplication {

	public static void main(String[] args) {
		SpringApplication.run(WangshuyuDemoApplication.class, args);
	}

	@RequestMapping(method = RequestMethod.GET, path = "/hello")
	public String hello() {
		return "hello , wangshuyu";
	}

}
